import json 
import os, sys 

path = os.path.abspath('.')
os.chdir(path)

config = ""
with open('config.json', 'r') as f:
    for line in f.read():
        config += line

a = json.loads(config)